Crate va_list [] [src]

C FFI - va_list support

This crate provides an interface for rust code to read values passed in C's va_list type.

Example

extern crate va_list;
use va_list::VaList;
 
extern "C" print_ints_va(count: u32, mut args: VaList)
{
    for i in (0 .. count) {
        println!("{}: {}", i, args.get::<i32>());
    }
}

Structs

VaList

Core type as passed though the FFI

Traits

VaPrimitive

Trait implemented on types that can be read from a va_list